﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FileIndexer.Model
{
    public class IdTextModel : ModelBase
    {
        public long IdDocument
        {
            get { return _IdDocument; }
            set
            {
                if (_IdDocument != value)
                {
                    _IdDocument = value;
                    OnPropertyChanged(IdDocumentPropertyName);
                }
            }
        }
        private long _IdDocument;
        public const string IdDocumentPropertyName = "IdDocument";

        public String Text
        {
            get { return _Text; }
            set
            {
                if (_Text != value)
                {
                    _Text = value;
                    OnPropertyChanged(TextPropertyName);
                }
            }
        }
        private string _Text;
        public const string TextPropertyName = "Text";

        public virtual String Type
        {
            get { return _Type; }
            set
            {
                if (_Type != value)
                {
                    _Type = value;
                    OnPropertyChanged(TypePropertyName);
                }
            }
        }
        private string _Type;
        public const string TypePropertyName = "Type";

        public virtual String FileName
        {
            get { return _FileName; }
            set
            {
                if (_FileName != value)
                {
                    _FileName = value;
                    OnPropertyChanged(FileNamePropertyName);
                }
            }
        }
        private string _FileName;
        public const string FileNamePropertyName = "FileName";



    }
}

